package java0745;
synchronized void deposit(int money){
		this.balance+=money;
		notify();
		
	}
	synchronized  void withdraw(int money){
		try{
			
			while(this.balance - money < 0){
				wait ();
			}
			this.balance  = this.balance - money;
			
			}catch(Exception e){
	}
